home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Goodies / Development Tools / XCMDs and XFCNs / Text / Text Utility XFCNs v1.2 / background_2316.xml next >
Encoding:
Extensible Markup Language  |  1995-11-21  |  13.6 KB  |  381 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2316</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_4558.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3167.css" />
  11.     <part>
  12.         <id>4</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>5</left>
  23.             <top>57</top>
  24.             <right>411</right>
  25.             <bottom>243</bottom>
  26.         </rect>
  27.         <style>scrolling</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Espi Sans</font>
  37.         <textSize>10</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>13</textHeight>
  40.         <name>Infos</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>5</id>
  45.         <type>button</type>
  46.         <visible> <true /> </visible>
  47.         <reserved5> 0 </reserved5>
  48.         <reserved4> 0 </reserved4>
  49.         <reserved3> 0 </reserved3>
  50.         <reserved2> 0 </reserved2>
  51.         <reserved1> 0 </reserved1>
  52.         <enabled> <true /> </enabled>
  53.         <rect>
  54.             <left>5</left>
  55.             <top>271</top>
  56.             <right>87</right>
  57.             <bottom>291</bottom>
  58.         </rect>
  59.         <style>rectangle</style>
  60.         <showName> <true /> </showName>
  61.         <highlight> <false /> </highlight>
  62.         <autoHighlight> <true /> </autoHighlight>
  63.         <sharedHighlight> <true /> </sharedHighlight>
  64.         <family>0</family>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Espi Sans</font>
  69.         <textSize>10</textSize>
  70.         <textStyle>bold</textStyle>
  71.         <name>Go Home‚Ķ</name>
  72.         <script>on mouseUp
  73. answer "Go Home‚Ķ" & return & ¬¨
  74. "______________________________________" & return & return & ¬¨
  75. "Do you want to quit HyperCard or go back to the Home-Stack?" ¬¨
  76. with "Cancel" or "Quit" or "Home"
  77. if it = "Home" then go home
  78. else if it = "Quit" then domenu "Quit HyperCard"
  79. end mouseUp</script>
  80.     </part>
  81.     <part>
  82.         <id>6</id>
  83.         <type>button</type>
  84.         <visible> <true /> </visible>
  85.         <reserved5> 0 </reserved5>
  86.         <reserved4> 0 </reserved4>
  87.         <reserved3> 0 </reserved3>
  88.         <reserved2> 0 </reserved2>
  89.         <reserved1> 0 </reserved1>
  90.         <enabled> <true /> </enabled>
  91.         <rect>
  92.             <left>91</left>
  93.             <top>271</top>
  94.             <right>173</right>
  95.             <bottom>291</bottom>
  96.         </rect>
  97.         <style>rectangle</style>
  98.         <showName> <true /> </showName>
  99.         <highlight> <false /> </highlight>
  100.         <autoHighlight> <true /> </autoHighlight>
  101.         <sharedHighlight> <true /> </sharedHighlight>
  102.         <family>0</family>
  103.         <titleWidth>0</titleWidth>
  104.         <icon>0</icon>
  105.         <textAlign>center</textAlign>
  106.         <font>Espi Sans</font>
  107.         <textSize>10</textSize>
  108.         <textStyle>bold</textStyle>
  109.         <name>ResCopy‚Ķ</name>
  110.         <script>on mouseUp
  111. put bg fld "Resources" into theList
  112. if theList = empty then
  113. answer "Error: There's nothing to copy!"
  114. exit mouseUp
  115. end if
  116. if the optionkey is up then
  117. put theList into theList2
  118. repeat with x=1 to number of lines of theList2
  119. put " ‚Äú" into char 5 of line x of theList2
  120. put "‚Äù" after line x of theList2
  121. put "     " before line x of theList2
  122. end repeat
  123. answer "This resources are to be copied‚Ķ" & return & ¬¨
  124. "______________________________________" & return & return & ¬¨
  125. theList2 with "Cancel" or "Go on‚Ķ"
  126. if it = "Cancel" then exit mouseUp
  127. end if
  128. put value of word 2 of long name of this stack into theSource
  129. answer file "Where shall I put the resources?" of type "STAK"
  130. if it ‚↠empty then
  131. put it into theDest
  132. set the itemdelimiter to ","
  133. repeat with x=1 to number of lines of theList
  134. CopyRes3 theSource,theDest,item 1 of line x of theList, ¬¨
  135. item 2 of line x of theList,"R"
  136. end repeat
  137. if word 1 of the result = "Error" then
  138. answer the result
  139. else
  140. set the itemdelimiter to ":"
  141. put last item of theDest into theShortDest
  142. answer "The resources have been copied to the stack ‚Äú" & ¬¨
  143. theShortDest & "‚Äù."
  144. end if
  145. end if
  146. end mouseUp</script>
  147.     </part>
  148.     <part>
  149.         <id>7</id>
  150.         <type>button</type>
  151.         <visible> <true /> </visible>
  152.         <reserved5> 0 </reserved5>
  153.         <reserved4> 0 </reserved4>
  154.         <reserved3> 0 </reserved3>
  155.         <reserved2> 0 </reserved2>
  156.         <reserved1> 0 </reserved1>
  157.         <enabled> <true /> </enabled>
  158.         <rect>
  159.             <left>91</left>
  160.             <top>247</top>
  161.             <right>173</right>
  162.             <bottom>267</bottom>
  163.         </rect>
  164.         <style>rectangle</style>
  165.         <showName> <true /> </showName>
  166.         <highlight> <false /> </highlight>
  167.         <autoHighlight> <true /> </autoHighlight>
  168.         <sharedHighlight> <true /> </sharedHighlight>
  169.         <family>0</family>
  170.         <titleWidth>0</titleWidth>
  171.         <icon>0</icon>
  172.         <textAlign>center</textAlign>
  173.         <font>Espi Sans</font>
  174.         <textSize>10</textSize>
  175.         <textStyle>bold</textStyle>
  176.         <name>TestDrive</name>
  177.         <script>on mouseUp
  178. TestDrive
  179. end mouseUp</script>
  180.     </part>
  181.     <part>
  182.         <id>19</id>
  183.         <type>field</type>
  184.         <visible> <true /> </visible>
  185.         <dontWrap> <false /> </dontWrap>
  186.         <dontSearch> <false /> </dontSearch>
  187.         <sharedText> <false /> </sharedText>
  188.         <fixedLineHeight> <false /> </fixedLineHeight>
  189.         <autoTab> <false /> </autoTab>
  190.         <lockText> <false /> </lockText>
  191.         <rect>
  192.             <left>2</left>
  193.             <top>20</top>
  194.             <right>299</right>
  195.             <bottom>51</bottom>
  196.         </rect>
  197.         <style>transparent</style>
  198.         <autoSelect> <false /> </autoSelect>
  199.         <showLines> <false /> </showLines>
  200.         <wideMargins> <false /> </wideMargins>
  201.         <multipleLines> <false /> </multipleLines>
  202.         <reservedFamily> 0 </reservedFamily>
  203.         <titleWidth>0</titleWidth>
  204.         <icon>0</icon>
  205.         <textAlign>left</textAlign>
  206.         <font>Espi Sans</font>
  207.         <textSize>20</textSize>
  208.         <textStyle>bold</textStyle>
  209.         <textHeight>26</textHeight>
  210.         <name>XTernal</name>
  211.         <script></script>
  212.     </part>
  213.     <part>
  214.         <id>21</id>
  215.         <type>field</type>
  216.         <visible> <true /> </visible>
  217.         <dontWrap> <true /> </dontWrap>
  218.         <dontSearch> <false /> </dontSearch>
  219.         <sharedText> <true /> </sharedText>
  220.         <fixedLineHeight> <false /> </fixedLineHeight>
  221.         <autoTab> <false /> </autoTab>
  222.         <lockText> <false /> </lockText>
  223.         <rect>
  224.             <left>177</left>
  225.             <top>248</top>
  226.             <right>416</right>
  227.             <bottom>296</bottom>
  228.         </rect>
  229.         <style>transparent</style>
  230.         <autoSelect> <false /> </autoSelect>
  231.         <showLines> <false /> </showLines>
  232.         <wideMargins> <false /> </wideMargins>
  233.         <multipleLines> <false /> </multipleLines>
  234.         <reservedFamily> 0 </reservedFamily>
  235.         <titleWidth>0</titleWidth>
  236.         <icon>0</icon>
  237.         <textAlign>left</textAlign>
  238.         <font>Espi Sans</font>
  239.         <textSize>10</textSize>
  240.         <textStyle>plain</textStyle>
  241.         <textHeight>13</textHeight>
  242.         <name>Copyright Address</name>
  243.         <script></script>
  244.     </part>
  245.     <part>
  246.         <id>24</id>
  247.         <type>field</type>
  248.         <visible> <true /> </visible>
  249.         <dontWrap> <false /> </dontWrap>
  250.         <dontSearch> <false /> </dontSearch>
  251.         <sharedText> <true /> </sharedText>
  252.         <fixedLineHeight> <false /> </fixedLineHeight>
  253.         <autoTab> <false /> </autoTab>
  254.         <lockText> <false /> </lockText>
  255.         <rect>
  256.             <left>2</left>
  257.             <top>2</top>
  258.             <right>122</right>
  259.             <bottom>19</bottom>
  260.         </rect>
  261.         <style>transparent</style>
  262.         <autoSelect> <false /> </autoSelect>
  263.         <showLines> <false /> </showLines>
  264.         <wideMargins> <false /> </wideMargins>
  265.         <multipleLines> <false /> </multipleLines>
  266.         <reservedFamily> 0 </reservedFamily>
  267.         <titleWidth>0</titleWidth>
  268.         <icon>0</icon>
  269.         <textAlign>left</textAlign>
  270.         <font>Espi Sans</font>
  271.         <textSize>10</textSize>
  272.         <textStyle>bold</textStyle>
  273.         <textHeight>13</textHeight>
  274.         <name>Matthias Kahlert's</name>
  275.         <script></script>
  276.     </part>
  277.     <part>
  278.         <id>25</id>
  279.         <type>field</type>
  280.         <visible> <true /> </visible>
  281.         <dontWrap> <false /> </dontWrap>
  282.         <dontSearch> <false /> </dontSearch>
  283.         <sharedText> <false /> </sharedText>
  284.         <fixedLineHeight> <false /> </fixedLineHeight>
  285.         <autoTab> <false /> </autoTab>
  286.         <lockText> <false /> </lockText>
  287.         <rect>
  288.             <left>349</left>
  289.             <top>2</top>
  290.             <right>413</right>
  291.             <bottom>19</bottom>
  292.         </rect>
  293.         <style>transparent</style>
  294.         <autoSelect> <false /> </autoSelect>
  295.         <showLines> <false /> </showLines>
  296.         <wideMargins> <false /> </wideMargins>
  297.         <multipleLines> <false /> </multipleLines>
  298.         <reservedFamily> 0 </reservedFamily>
  299.         <titleWidth>0</titleWidth>
  300.         <icon>0</icon>
  301.         <textAlign>right</textAlign>
  302.         <font>Espi Sans</font>
  303.         <textSize>10</textSize>
  304.         <textStyle>bold</textStyle>
  305.         <textHeight>13</textHeight>
  306.         <name>Version</name>
  307.         <script></script>
  308.     </part>
  309.     <part>
  310.         <id>27</id>
  311.         <type>button</type>
  312.         <visible> <true /> </visible>
  313.         <reserved5> 0 </reserved5>
  314.         <reserved4> 0 </reserved4>
  315.         <reserved3> 0 </reserved3>
  316.         <reserved2> 0 </reserved2>
  317.         <reserved1> 0 </reserved1>
  318.         <enabled> <true /> </enabled>
  319.         <rect>
  320.             <left>5</left>
  321.             <top>247</top>
  322.             <right>87</right>
  323.             <bottom>267</bottom>
  324.         </rect>
  325.         <style>rectangle</style>
  326.         <showName> <true /> </showName>
  327.         <highlight> <false /> </highlight>
  328.         <autoHighlight> <true /> </autoHighlight>
  329.         <sharedHighlight> <true /> </sharedHighlight>
  330.         <family>0</family>
  331.         <titleWidth>0</titleWidth>
  332.         <icon>0</icon>
  333.         <textAlign>center</textAlign>
  334.         <font>Espi Sans</font>
  335.         <textSize>10</textSize>
  336.         <textStyle>bold</textStyle>
  337.         <name>About‚Ķ</name>
  338.         <script>on mouseUp
  339. XC_ShowAbout
  340. end mouseUp</script>
  341.     </part>
  342.     <part>
  343.         <id>28</id>
  344.         <type>field</type>
  345.         <visible> <true /> </visible>
  346.         <dontWrap> <false /> </dontWrap>
  347.         <dontSearch> <false /> </dontSearch>
  348.         <sharedText> <false /> </sharedText>
  349.         <fixedLineHeight> <false /> </fixedLineHeight>
  350.         <autoTab> <false /> </autoTab>
  351.         <lockText> <false /> </lockText>
  352.         <rect>
  353.             <left>242</left>
  354.             <top>248</top>
  355.             <right>414</right>
  356.             <bottom>294</bottom>
  357.         </rect>
  358.         <style>scrolling</style>
  359.         <autoSelect> <false /> </autoSelect>
  360.         <showLines> <false /> </showLines>
  361.         <wideMargins> <false /> </wideMargins>
  362.         <multipleLines> <false /> </multipleLines>
  363.         <reservedFamily> 0 </reservedFamily>
  364.         <titleWidth>0</titleWidth>
  365.         <icon>0</icon>
  366.         <textAlign>left</textAlign>
  367.         <font>Espi Sans</font>
  368.         <textSize>10</textSize>
  369.         <textStyle>plain</textStyle>
  370.         <textHeight>13</textHeight>
  371.         <name>Resources</name>
  372.         <script>on mouseUp
  373. hide me
  374. end mouseUp</script>
  375.     </part>
  376.     <part>
  377.         <id>29</id>
  378.         <type>button</type>
  379.         <visible> <true /> </visible>
  380.         <reserved5> 0 </reserved5>
  381.         <reserved4> 0 </reserved4>
  382.         <reserved3> 0 </reserved3>
  383.         <reserved2> 0 </reserved2>
  384.         <reserved1> 0 </reserved1>
  385.         <enabled> <true /> </enabled>
  386.         <rect>
  387.             <left>298</left>
  388.             <top>8</top>
  389.             <right>351</right>
  390.             <bottom>42</bottom>
  391.         </rect>
  392.         <style>transparent</style>
  393.         <showName> <false /> </showName>
  394.         <highlight> <false /> </highlight>
  395.         <autoHighlight> <false /> </autoHighlight>
  396.         <sharedHighlight> <true /> </sharedHighlight>
  397.         <family>0</family>
  398.         <titleWidth>0</titleWidth>
  399.         <icon>0</icon>
  400.         <textAlign>center</textAlign>
  401.         <font>Chicago</font>
  402.         <textSize>12</textSize>
  403.         <textStyle>plain</textStyle>
  404.         <name></name>
  405.         <script>on mouseUp
  406. XC_ShowAbout
  407. end mouseUp</script>
  408.     </part>
  409.     <content>
  410.         <layer>background</layer>
  411.         <id>4</id>
  412.         <text><span class="style17">    This XFCN helps you identifying the CPU-Type of your Macintosh. Known CPUs are: MC 68000, MC 68010, MC 68020, MC 68030, MC 68040, IBM PowerPC 601, IBM PowerPC 603 and IBM PowerPC 604. For a unknown CPU you'll get the result ‚ÄúUnknown CPU‚Äù.
  413.      But you also get the type of the FPU of your Mac. Possible results are: No FPU, MC 68881 FPU, MC 68882 FPU, Built-In FPU and Unknown FPU.
  414.      The two result are seperated in two lines, the first line is the CPU, the second one the FPU.
  415.  
  416. </span><span class="style18">Syntax:
  417. </span><span class="style19">     get Processor()
  418. </span><span class="style17">
  419.  
  420. </span><span class="style14">Version History:
  421. </span><span class="style17"> ‚Ä¢ Version 1.0 ‚Äî 27.08.1995
  422.    - First release of this XFCN
  423.  
  424.  
  425.      If you wish to you can receive the C/C++ source code to this XTernal from me. Simply send me a formated disk and enough postage (or an international money order), then you soon get the code and other fine stacks or XTernals from me.
  426.  
  427.  
  428.                  ¬© 1995 by      </span><span class="style18">Matthias Kahlert</span><span class="style17">
  429.                                           Haidauer Stra√üe 79
  430.                                          93073 Neutraubling
  431.                                                    Germany
  432.  
  433.  
  434.      This stack and the XTernal in it are postcardware. If you like it or if you use it in your own stacks, simply send me a postcard of your hometown or some other small donation. It would also be nice if you mention my name in the credits-dialog.
  435.  
  436.  
  437. </span><span class="style14">Other resources used in this stack:
  438. </span><span class="style17"> ‚Ä¢ CopyRes3 (XCMD) v1.8 by Fr√©d√©ric Rinaldi
  439.  ‚Ä¢ Inflate (XCMD) by Steve Breish
  440.  
  441.  
  442. </span><span class="style18">You can surely understand that I can't make any waranties pertaining an error-free function of this stack and the scripts and XTernals in it. In no event shall Matthias Kahlert be liable for any consequential, indirect or similar damages, including but not limited to any lost profits or lost data arising out of the use or inability to use this stack or it's resources. You use this stack on your own risk.</span></text>
  443.     </content>
  444.     <content>
  445.         <layer>background</layer>
  446.         <id>19</id>
  447.         <text>Processor XFCN</text>
  448.     </content>
  449.     <content>
  450.         <layer>background</layer>
  451.         <id>21</id>
  452.         <text><span class="style17"> 1995 by
  453.     </span><span class="style18">Matthias Kahlert</span><span class="style17">
  454.     matthias.kahlert@rz.fh-regensburg.d400.de</span></text>
  455.     </content>
  456.     <content>
  457.         <layer>background</layer>
  458.         <id>24</id>
  459.         <text>Matthias Kahlert's</text>
  460.     </content>
  461.     <name>XTernal Collection</name>
  462.     <script>on opencard
  463. set scroll of bg fld "Infos" to 0
  464. pass opencard
  465. end opencard</script>
  466. </background>
  467.